<!DOCTYPE html>
<html>
<head>
	<title>滚动广告</title>
	<style type="text/css">
		.bgo{ 
				position:fixed; 
				width:100%; 
			}
	</style>
</head>
<body>
	<div class="bgo">
		<label id="marqueeBox"><label></label></label>
	</div>
</body>
<script type="text/javascript" src="../ExternalLibrary/jquery.js"></script>
<script type="text/javascript">
	var marqueeContent = [];//滚动广告内容
	marqueeContent[0]= "<font onclick='alert(1)'>星期一：Monday（Mon.）</font>";
	marqueeContent[1]= "<font onclick='alert(2)'>星期二：Tuesday（Tue.）</font>";
	marqueeContent[2]= "<font onclick='alert(3)'>星期三：Wednesday（Wed.）</font>";
	marqueeContent[3]= "<font onclick='alert(5)'>星期五：Friday（Fri.）</font>";
	marqueeContent[5]= "<font onclick='alert(6)'>星期六：Saturday（Sat.）</font>";

	var initial = function(){
		initMarquee();
	}();

	//页面初始化时加载第一条广告
	function initMarquee(){
		var str = marqueeContent[0];
		$("#marqueeBox").find("label").html(str);
	}
</script>
</html>